{include file='ajax.header.tpl'}
<div id="options">
	<input type="button" value="{_ t="Guardar"}"   id="item_save_order"   class="save">
	<input type="button" value="{_ t="Cancelar"}" id="item_cancel_order" class="cancel">
</div>

<h1><img src="../public/icons/16x16/apps/{$ITEM_TYPE}.png"/>{_ t="Listado de $ITEM_TYPE"}</h1> 	

<form id="item_order_form">
	<div id="icontent">
	<b>
	<a id="item_title_order" href="">{_ t="T&iacute;tulos" }</a> | 
	<a id="item_order_order" href="">{_ t="Orden" }</a> |
	{_ t="Visibilidad" }:
	<select id="item_visibility" name="item_visibility" class="edit_mode">
		<option {if $visibility == 0} selected="selected"{/if} value="0" >ALL</option>
		<option {if $visibility == 5} selected="selected"{/if} value="5" >PUBLIC</option>
		<option {if $visibility == 3} selected="selected"{/if} value="3" >DRAFT</option>
	</select>
	</b>

	<ul id="items_list"></ul>
	</div>
</form>

<ul id="paginator"></ul>
<br style="clear:both" />

<div class="tip">
<p><img src="../public/icons/16x16/apps/tip.png"/>{_ t="Arrastre y sueltes los elementos para ordenarlos."}</p>
</div>

<input type="hidden" id="item_order_var" 			value="title_{$language}"/>
<input type="hidden" id="item_visibility_var" value="0"/>
<input type="hidden" id="item_page_var" 			value="0"/>


<iframe name="nodisplay" style="display:none;"></iframe>
</div>

<script type="text/javascript">
var ITEM_TYPE = '{$ITEM_TYPE}';
var ITEM_RELATION = 'item';
items_init();
</script>
{include file='ajax.footer.tpl'}
